package com.shaunstone.gae_web.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.shaunstone.gae.workout.model.BodyParts;
import com.shaunstone.gae.workout.model.Exercise;

@RestController
@RequestMapping("/rest")
public class RestEndPoint {

	
	@RequestMapping(method = RequestMethod.GET, value = "exercise")
	public Exercise getExercise() {
		// ObjectMapper
		return new Exercise("Arm Curl", BodyParts.Bicept);
	}
}
